package com.yidian.pojo.order;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author whb
 * @create 2021-08-29 14:54
 * @desciption 满减优惠实体类
 */
@Table(name = "tb_preferential")
@Data
public class Preferential implements Serializable {
    @Id
    private Integer id;//ID

    private Integer buyMoney;//消费金额

    private Integer preMoney;//优惠金额

    private Integer categoryId;//品类ID

    private java.util.Date startTime;//活动开始日期

    private java.util.Date endTime;//活动截至日期

    private String state;//状态：0 无效 1有效

    private String type;//类型：1不翻倍 2翻倍
}
